package com.matt.domain.courseV2;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 能力指标标签
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "tc_ability")
public class Ability extends Domain implements Serializable {
    private static final long serialVersionUID = 1L;


    @Column(columnDefinition = "int(5)   COMMENT '开始时间(天)' ")
    private int startTime = 0 ;

    @Column(columnDefinition = "int(5)   COMMENT '结束时间(天)' ")
    private int endTime = 0 ;

    @Column(columnDefinition = "varchar(255)   COMMENT '指标名称' ")
    private String name;

    @Column(columnDefinition = "varchar(255)   COMMENT '时间轴' ")
    private String timeAxis;

    @Column(columnDefinition = "varchar(255)   COMMENT '标签' ")
    private String label;

    @Column(columnDefinition = "varchar(255)   COMMENT '项目：0活动项目，1触及项目，2超前项目' ")
    private String item;
}